package api

import request "gitee.com/changeden/volcengine-livesaas-request-go"

type DeleteGraphicMessageRequest struct {
	ActivityId       *int64 `json:"ActivityId"`
	GraphicMessageId *int64 `json:"GraphicMessageId"`
}
type DeleteGraphicMessageResponse struct {
	Status bool `json:"Status"`
}

func (instance *Instance) DeleteGraphicMessage(data *DeleteGraphicMessageRequest) (*DeleteGraphicMessageResponse, error) {
	d := request.Data{
		Action: "DeleteGraphicMessageAPI",
	}
	bindQuery(&d, *data)
	var res DeleteGraphicMessageResponse
	err := instance.post(&d, &res)
	return &res, err
}
